package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.TravelCommend;
import cn.wolfcode.luowowo.article.query.TravelCommendQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelCommendService {
    PageInfo<TravelCommend> query(TravelCommendQuery qo);

    void saveOrUpdate(TravelCommend travelCommend);

    void delete(Long id);

    List<TravelCommend> getTop5();
}
